﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml;

namespace EmprestaAE.Common.AttachedProperties
{
    class InputPanelPresenterProperties
    {


        public static bool GetIsActive(DependencyObject obj)
        {
            return (bool)obj.GetValue(IsActiveProperty);
        }

        public static void SetIsActive(DependencyObject obj, bool value)
        {
            obj.SetValue(IsActiveProperty, value);
        }

        // Using a DependencyProperty as the backing store for IsActive.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty IsActiveProperty =
            DependencyProperty.RegisterAttached("IsActive", typeof(bool), typeof(InputPanelPresenterProperties), new PropertyMetadata(false, IsActiveAction));

        private static void IsActiveAction(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            
        }
    }
}
